#include <iostream>
#include "audiere.h"

using namespace std;

audiere::AudioDevicePtr device( audiere::OpenDevice() );
audiere::OutputStreamPtr stream( audiere::OpenSound( device, "bgm.mp3", false ) );

int main()
{
    stream->setRepeat( true );
    stream->setVolume( 0.5f ); // 50% volume
    stream->play();

    int a;
    cin >> a;

    return 0;
}
